package com.qijian.business.domain.query;

import java.util.Date;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 仓库调拨对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-16
 */

@Data
@ToString
@TableName("im_store_transfer")
public class StoreTransferQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "name")
    private String name;
    @WhereType(filed = "number")
    private String number;
    @WhereType(filed = "transfer_time")
    private Date transferTime;
    @WhereType(filed = "storekeeper_id")
    private Long storekeeperId;
    @WhereType(filed = "storekeeper_name")
    private String storekeeperName;
    @WhereType(filed = "into_store_id")
    private Long intoStoreId;
    @WhereType(filed = "into_store_name")
    private String intoStoreName;
    @WhereType(filed = "out_store_id")
    private Long outStoreId;
    @WhereType(filed = "out_store_name")
    private String outStoreName;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
